/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package javafx191labs.nkornilova.seminar01.data;

import javafx191labs.ssheypak.common.data.Person;

/**
 *
 * @author владелец
 */
public class Manager extends Person{
    String departmentTitle;

    public String getDepartmentTitle() {
        return departmentTitle;
    }

    public void setDepartmentTitle(String departmentTitle) {
        this.departmentTitle = departmentTitle;
    }
    @Override
   public String toString(){
        return "Person{id=> " + id +" lastName=>"+lastName+", firstName=> "+firstName+", birthDay=>"+birthDay+", department=>"+departmentTitle+"}";
    }

}
